package com.boc.ewr.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 签约机构变更申请
 * @Author: jeecg-boot
 * @Date: 2023-04-20
 * @Version: V1.0
 */
@Data
@TableName("snorg_change_apply")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "snorg_change_apply对象", description = "签约机构变更申请")
public class SnorgChangeApply implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
    /**
     * 客户号
     */
    @Excel(name = "客户号", width = 15)
    @ApiModelProperty(value = "客户号")
    private java.lang.String cusmNo;
    /**
     * 客户名称
     */
    @Excel(name = "客户名称", width = 15)
    @ApiModelProperty(value = "客户名称")
    private java.lang.String cusmNm;
    /**
     * 签约协议号
     */
    @Excel(name = "签约协议号", width = 15)
    @ApiModelProperty(value = "签约协议号")
    private java.lang.String protocolNo;
    /**
     * 签约主账号/主合同号
     */
    @Excel(name = "签约主账号/主合同号", width = 15)
    @ApiModelProperty(value = "签约主账号/主合同号")
    private java.lang.String mainAcctNo;
    /**
     * 签约机构/开户行号
     */
    @Excel(name = "签约机构/开户行号", width = 15)
    @ApiModelProperty(value = "签约机构/开户行号")
    private java.lang.String orgBranchNo;
    /**
     * 二级行名称
     */
    @Excel(name = "二级行名称", width = 15)
    @ApiModelProperty(value = "二级行名称")
    private java.lang.String adminBranchNm;

    /**
     * 变更后签约机构号为
     */
    @Excel(name = " 变更后签约机构号为", width = 15)
    @ApiModelProperty(value = " 变更后签约机构号为")
    private java.lang.String changeOrgNo;
    /**
     * 变更说明
     */
    @Excel(name = " 变更说明", width = 15)
    @ApiModelProperty(value = " 变更说明")
    private java.lang.String changeNote;
    /**
     * 附件
     */
    @Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
    private java.lang.String appendFile;

    /**
     * 审核状态
     */
    @Excel(name = "审核状态", width = 15, dicCode = "process_status")
    @Dict(dicCode = "process_status")
    @ApiModelProperty(value = "审核状态")
    private java.lang.String checkSta;
    /**
     * 申请日期
     */
    @Excel(name = "申请日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "申请日期")
    private java.util.Date applyDate;
    /**
     * 经办人
     */
    @Excel(name = "经办人", width = 15)
    @ApiModelProperty(value = "经办人")
    private java.lang.String operatPsn;
    /**
     * 审批人
     */
    @Excel(name = "审批人", width = 15)
    @ApiModelProperty(value = "审批人")
    private java.lang.String approvePsn;

    // 以下为工作流关联字段
    /**
     * 结果
     */
    private Integer result;

    /**
     * 流程实例的编号
     */
    private String processInstanceId;

    /**
     * 申请人的用户编号
     */
    private String userId;
}
